﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Demos
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            var list = new List<bool>();
            list.Add(true);
            list.Add(false);
            list.Add(false);
            list.Add(true);
            list.Add(false);
            list.Add(true);

            var listOrder = list.OrderBy(s => s);
            foreach (var o in listOrder)
            {
                Console.WriteLine(o);
            }
        }
    }
}
